import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/info/getAllInfo',
    method: 'get',
    params
  })
};

export function deleteInfo(id){
  return request({
    url: '/info/deleteInfo',
    method: 'get',
    params: { id: id }
  })
}
